﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace JewererBasic.Models
{
    public class ProductView
    {
        [Required(ErrorMessage = "Please enter this field")]
        public string Id { get; set; }
        public int Kind { get; set; }
        public string Drawing { get; set; }
        [Required(ErrorMessage = "Please enter this field")]
        public double Size { get; set; }
        public int Unit { get; set; }
        public int Type { get; set; }
        [Required(ErrorMessage = "Please enter this field")]
        public double MetalWeight { get; set; }
        [Required(ErrorMessage = "Please enter this field")]
        public double TotalWeight { get; set; }
        public int Gamma { get; set; }
        public string Remark { get; set; }
    }
}